import request from '../utils/request'


export const login = (code) => {
    return request(
        `/user/login`,
        {
            method: 'POST',
            data: {
                code
            }
        }
    )
}
